@model IPageable<Person>
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "pager demo";
}
    <h2>
        pagination</h2>
    <table class='atbl'>
        <thead>
            <tr>
                <td>
                    Person
                </td>
            </tr>
        </thead>
        <tbody>
            @foreach (var person in Model.Page)
              {
            <tr>
                <td>
                    @person.FirstName @person.LastName
                </td>
            </tr>
            }
        </tbody>
    </table>
    <br />
    <br />
    @Html.Pagination()

